home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / SDKs / PCI Driver Development Kit / • Samples / Driver Samples / Video samples / GDX 950717 / GDX / GraphicsCoreStatus.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-20  |  2.2 KB  |  49 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        GraphicsCoreStatus.h
  3.  
  4.     Contains:    Declarations for the the routines that implement the driver's 'Status' calls.
  5.  
  6.     Written by:    Sean Williams, Kevin Williams
  7.  
  8.     Copyright:    © 1994-1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>     4/15/95    SW        First Checked In
  13.  
  14. */
  15.  
  16. #ifndef __GRAPHICSCORESTATUS__
  17. #define __GRAPHICSCORESTATUS__
  18.  
  19. #include "GraphicsPriv.h"
  20. #include <Video.h>
  21.  
  22. // Declaration of Core driver calls
  23. // These are the declarations for the meat of the driver Control routines.
  24.  
  25. GDXErr GraphicsCoreGetMode(VDPageInfo *pageInfo);                                        // csCode = 2
  26. GDXErr GraphicsCoreGetEntries(VDSetEntryRecord *setEntry);                                // csCode = 3
  27. GDXErr GraphicsCoreGetPages(VDPageInfo *pageInfo);                                        // csCode = 4
  28. GDXErr GraphicsCoreGetBaseAddress(VDPageInfo *pageInfo);                                // csCode = 5
  29. GDXErr GraphicsCoreGetGray(VDGrayRecord *gray);                                            // csCode = 6
  30. GDXErr GraphicsCoreGetInterrupt(VDFlagRecord *flag);                                    // csCode = 7
  31. GDXErr GraphicsCoreGetGamma(VDGammaRecord *gamma);                                        // csCode = 8
  32. GDXErr GraphicsCoreGetCurrentMode(VDSwitchInfoRec *switchInfo);                            // csCode = 10
  33. GDXErr GraphicsCoreGetSync(VDSyncInfoRec *sync);                                        // csCode = 11
  34. GDXErr GraphicsCoreGetConnection(VDDisplayConnectInfoRec *displayConnectInfo);             // csCode = 12
  35. GDXErr GraphicsCoreGetModeTiming(VDTimingInfoRec *timingInfo);                            // csCode = 13
  36. GDXErr GraphicsCoreGetPreferredConfiguration(VDSwitchInfoRec *switchInfo);                // csCode = 16
  37. GDXErr GraphicsCoreGetNextResolution(VDResolutionInfoRec *resolutionInfo);                // csCode = 17
  38. GDXErr GraphicsCoreGetVideoParams(VDVideoParametersInfoRec *videoParamatersInfo);        // csCode = 18
  39. GDXErr GraphicsCoreGetGammaInfoList(VDGetGammaListRec *getGammaList);                    // csCode = 20
  40. GDXErr GraphicsCoreRetrieveGammaTable(VDRetrieveGammaRec *getGammaList);                // csCode = 21
  41. GDXErr GraphicsCoreSupportsHardwareCursor(VDSupportsHardwareCursorRec *supportsHardwareCursor);    // csCode = 22
  42. GDXErr GraphicsCoreGetHardwareCursorDrawState(VDHardwareCursorDrawStateRec *cursorDrawState);    // csCode = 23
  43. GDXErr GraphicsCoreGetPowerState(VDPowerStateRec *vdPowerState);                        // csCode = 25
  44.  
  45.  
  46. #endif    // __GRAPHICSCORESTATUS__
  47.  
  48.  
  49.